using System.Collections.Generic;
using Microsoft.Extensions.Options;

namespace Lawn.AppServer
{
    // public class OptionsRemoteServer
    // {
    //     public string Name { get; }
    //     public List<RemoteServer>  Server { get; set; }=new List<RemoteServer>();
    //
    //  
    //
    //
    //
    // }

    public class OptionsRemoteServer
    {
        public  string  Url { get; set; } 
        public int    Port { get; set; }

        public string Key => $"{Url}_{Port}";

        // public RemoteServer(string url, int port)
        // {
        //     this.Url = url;
        //     this.Port = port;
        // }

        public List<TopicType> TopicTypes { get; set; } = new List<TopicType>();
    }

}